package parser.absyn;

public class BoolSetExp extends BoolExp {
	public static final int IN = 0, ANY = 1, ALL = 2, EXIST = 3, NOEXIST = 4;
	public static final int LT = 0, GT = 1, EQ = 2, LE = 3, GE = 4, NEQ = 5;
	public Value value;
	public Query subquery;
	public int cop;
	public int set_op;
	public BoolSetExp(Value v, int cmp, int set, Query sub) {
		value = v; cop = cmp; set_op = set; subquery = sub;
	}
	public BoolSetExp(Value v, int set, Query sub) {
		value = v; cop = -1; set_op = set; subquery = sub;
	}
	public BoolSetExp(int set, Query sub) {
		value = null; cop = -1; set_op = set; subquery = sub;
	}
}
